package com.ruoyi.common.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.common.core.domain.entity.Banner;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * banner图片Mapper接口
 * @date 2024-03-22
 */
@Repository
public interface BannerMapper extends BaseMapper<Banner> {
    IPage<Map<String, Object>> selectPage(IPage<?> page, @Param("p") Map<String, Object> param);

    List<Banner> getBannerList(@Param("bannerPosition") String bannerPosition);
}
